package com.oceansoft.mobile.econsole.modules.weixin.persistence;

import com.oceansoft.mobile.econsole.modules.base.entity.Query;
import com.oceansoft.mobile.econsole.modules.weixin.entity.LostProperty;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by 我的大名叫陆健伟 on 2016/1/31.
 */
@Repository
public interface ILostPropertyMapper {

    /**
     * 根据条件加载失物寻物
     * @param query
     * @return
     */
    List<LostProperty> loadLostPropertiesByCondition(Query query);

    /**
     * 查看详细信息
     * @param guid
     * @return
     */
    LostProperty findLostPropertyById(String guid);


}
